/* 基础样式 */
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

/* 导航栏滚动效果 */
#navbar {
  transition: all 0.3s ease;
}

/* 卡片悬停效果 */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.2), 0 10px 10px -5px rgba(59, 130, 246, 0.1);
}

/* 图表阴影 */
.chart-shadow {
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1), 0 8px 10px -6px rgba(59, 130, 246, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .chart-box {
    height: 300px;
    margin: 15px;
    width: calc(100% - 30px);
  }
}

/* 自定义颜色变量 */
:root {
  --primary: #3b82f6;
  --secondary: #10b981;
  --accent: #8b5cf6;
  --dark: #1e293b;
  --light: #f8fafc;
}

/* 按钮样式 */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: rgba(59, 130, 246, 0.9);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

/* 表格样式 */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.table tr:hover {
  background-color: #f9fafb;
}

/* 状态标签 */
.status-tag {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-available {
  background-color: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.status-borrowed {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}    